package liuyuyang.service;

import com.baomidou.mybatisplus.extension.service.IService;
import liuyuyang.domain.User;
import liuyuyang.pojo.Result;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional
public interface UserService extends IService<User> {
    public User login(String username, String password) throws Exception;
    public void reset(Integer uid);
    public void edit(User user);
    public void editPass(User user) throws Exception;
    public User get(Integer uid);
}
